*{
    margin: 0;
    padding: 0;
}

#shopcar{
    width: 990px;
    height: 1000px;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
    /* background-color: violet; */

    position: absolute;
    left: 260px;
    top: 20px;
}

/* ==========================================1.logo=========================================== */
#shopcar .logo{
    width: 250px;
    height: 40px;
    /* background-color: blueviolet; */
    position: relative;
    margin: 20px 0px 10px 0px;
    float: left;
}

.logo b{
    display: block;
    width: 110px;
    height: 40px;
    position: absolute;
    right: 0;
    bottom: 0;
    background: url(../images/welcomcom.png) no-repeat;
}

/* ==========================================2.搜索框=========================================== */
.searchText{
    width: 350px;
    height: 30px;
    position: absolute;
    top: 30px;
    right: 0;
}

/* ========================================3.标题================================================== */
#shopcar .pro_total_num{
    width: 120px;
    height: 40px;

    margin-left: 20px;
    position: relative;
    top: 100px;
}

.pro_total_num .quanbushangpin{
    display: block;
    width: 120px;
    height: 40px;
    text-align: left;
    line-height: 40px;

    color: rgb(230, 0, 0);
    font-size: 16px;
    font-weight: bolder;

    position: absolute;
    left: 0;
}

.pro_total_num .num{
    display: block;
    width: 120px;
    height: 40px;
    text-align: left;
    line-height: 40px;

    color: rgb(230, 0, 0);
    font-size: 16px;
    font-weight: bolder;

    position: absolute;
    left: 70px;
}

/* ============================================4.表头===================================== */
#shopcar .cart-head{
    width: 990px;
    height: 43px;
    background-color: #f3f3f3;
    position: relative;
    top: 100px;
}

.cart-head .select-ALLBtn{
    width: 48px;
    height: 43px;
    position: relative;
    left: 10px;
    bottom: 0
}

.select-ALLBtn input[type="checkbox"]{
    width: 12px;
    height: 12px;
    cursor: pointer;
    position: absolute;
    top: 12px;
    left: 0;
    float: left;
}

.select-ALLBtn span{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%s;
    text-align: center; 
    color: gray;
    font-size: 13px;
    float: left;
    position: absolute;
    left: 8px;
    top: 13px;
}

.cart-head .product{
    display: block;
    width: 48px;
    height: 100%;
    position: absolute;
    left: 200px;
    top: 2px;
    float: left;
}

.product span{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-align: center; 
    color: gray;
    font-size: 13px;
    margin-top: 13px;
}

.cart-head .danjia{
    display: block;
    width: 48px;
    height: 100%;
    position: absolute;
    left: 540px;
    top: 2px;
    float: right;
}

.danjia span{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-align: center; 
    color: gray;
    font-size: 13px;
    margin-top: 13px;
}

.cart-head .count{
    display: block;
    width: 48px;
    height: 100%;
    position: absolute;
    left: 650px;
    top: 2px;
    float: left;
}

.count span{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-align: center; 
    color: gray;
    font-size: 13px;
    margin-top: 13px;
}

.cart-head .xiaoji{
    display: block;
    width: 48px;
    height: 100%;
    position: absolute;
    left: 785px;
    top: 2px;
    float: left;
}

.xiaoji span{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-align: center; 
    color: gray;
    font-size: 13px;
    margin-top: 13px;
}

.cart-head .caozuo{
    display: block;
    width: 48px;
    height: 100%;
    margin-top: -43px;
    margin-right: 47px;
    float: right;
}

.caozuo span{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-align: center; 
    color: gray;
    font-size: 13px;
    margin-top: 13px;
}

/* =========================5.商品列表======================== */
.pro-list{
    width: 990px;
    height: auto;
    margin-top: 100px;
}

.pro-list ul{
    width: 100%;
    height:100%;
    list-style: none;
}

ul .pro{
    width: 990px;
    height: 140px;
    border-top: 1px solid #999;
}

.it{
    background-color:#fff4e8;
}

/* 无订单提醒 */
.pro-list .noOrder,ul .noOrder{
    width: 400px;
    height: 90px;
    /* background-color: aquamarine; */
    position: absolute;
    top: 500px;
    left: 250px;
}

.noOrder .words{
    display: block;
    width: 400px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #666;
    font-size: 20px;
}

/* (1).选择框  */
.pro input[type="checkbox"]{
    width: 12px;
    height: 12px;
    cursor: pointer;

    position: absolute; /* 相对父容器，以后要在div 里再打格子，就用 absolute，再移， absolute 绝对定位 的好处是 不占据原来位置，不干扰其他元素；然后再根据计算定位*/
    left: 10px;
    margin-top: 25px;
    float: left;
}

/* (3).商品名字 */
.pro .name{
    width: 300px;
    height: 44px;
    position: absolute;
    left: 140px;
    margin-top: 25px;
}

.name p{
    color: black;
    font-size: 13px;
}

.name a:hover{
    text-decoration: none;
}

/* 优惠券下拉列表 */
.youhuiquan_msg{
    width: 420px;
    height: 240px;
    background-color: white;
    border: 2px solid rgb(230, 0, 0);
    margin-left: 67px;
    margin-top: -20px;
    position: absolute;
    z-index:9999;
}

.youhuiquan_msg .fangfe{
    width: 74px;
    height: 31px;
    border: 1px solid #999;
    margin-left: 12px;
    margin-top: 40px;
}

/* (4).商品价格 */
.pro .price{
    width: 100px;
    height: 40px;

    position: absolute;
    left: 530px;
    margin-top: 15px;
}

.price span:first-child{
    display: block;
    width: 20px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    color: #333;
    float: left;
}

.price span:nth-child(2){
    display: block;
    width: 70px;
    height: 40px;
    line-height: 40px;
    text-align: left;
    font-size: 14px;
    color: #333;
    float: left;
}

/* (5).商品数量 */
.pro .count{
    width: 120px;
    height: 30px;

    position: absolute;
    left: 640px;
    margin-top: 25px;
}

/* (6).小计 */
.pro .pro-xiaoji{
    width: 100px;
    height: 40px;

    position: absolute;
    left: 777px;
    margin-top: 17px;
}

.pro-xiaoji span:first-child{
    display: block;
    width: 20px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    color: #333;
    float: left;
    font-weight: bolder;
}

.pro-xiaoji span:nth-child(2){
    display: block;
    width: 70px;
    height: 40px;
    line-height: 40px;
    text-align: left;
    font-size: 16px;
    color: #333;
    float: left;
    font-weight: bolder;
}


/* (7).操作 */
.pro .pro-caozuo{
    width: 40px;
    height: 40px;

    position: absolute;
    left: 900px;
    margin-top: 18px;
    cursor: pointer;
}

.pro-caozuo .del{
    border: none;
    width: 40px;
    background-color: white;
    height: 40px;
    font-size: 14px;
    color: black;
    line-height: 40px;
    text-align: center;
}

.pro-caozuo button:hover{
    color: rgb(230, 0, 0);
}

/* =========================6.结算========================= */
.totalmoney{
    width: 990px;
    height: 70px;
    border: 1px  solid #eee;
    border-radius: 10px;
    position: fixed;
    bottom: 20px;
}

/* (1).清空购物车 */
.totalmoney .cleanAll{
    width: 100px;
    height: 40px;
    float: left;
}

.cleanAll .delall{
    width: 100px;
    height: 40px;
    text-align: center;
    background-color: rgb(230, 0, 0);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    
    color: white;
    font-weight: bolder;
    font-size: 14px;
    margin-top: 15px;
    margin-left: 30px;
}

/* (2).已选几件商品 */
.pro-count{
    width: 140px;
    height: 70px;
    float: right;
    margin-right: 300px;
}

.pro-count a{
    display: block;
    width: 50px;
    height: 70px;

    line-height: 70px;
    text-align: center;

    font-size: 14px;
    color: #999;
    float: left;
}

.pro-count .selectCount{
    display: block;
    width: 30px;
    height: 70px;

    color: rgb(230, 0, 0);
    line-height: 70px;
    text-align: center;
    font-weight: bolder;
    font-size: 18px;
    float: left;
}

.pro-count b{
    display: block;
    width: 70px;
    height: 70px;

    line-height: 70px;
    text-align: left;

    font-size: 14px;
    color: #999;
}

/* (3).总价 */
.totalmoney .summoney{
    width: 140px;
    height: 70px;
    float: right;
    margin-right: -290px;
}

.summoney .zongjia{
    display: block;
    width: 45px;
    height: 70px;

    line-height: 70px;
    text-align: left;

    font-size: 14px;
    color: #999;
    float: left;
}

.summoney .dallor{
    display: block;
    width: 20px;
    height: 70px;

    line-height: 70px;
    text-align: left;

    font-size: 18px;
    color: rgb(230, 0, 0);
    font-weight: bolder;
    float: left;
}

.summoney .totalPrice{
    display: block;
    width: 30px;
    height: 70px;

    line-height: 70px;
    text-align: left;

    font-size: 24px;
    color: rgb(230, 0, 0);
    font-weight: bolder;
    float: left;
}

/* 模态框 */
#shopcar .modal-footer .yes,#shopcar .modal-footer .yep{
    background-color: rgb(230, 0, 0);
    color: white;
    border: none;
    height: 33px;
    width: 55px;
    border-radius: 4px;
}

#shopcar .h{
    border: none !important;
}

#shopcar .f{
    border: none !important;
}

#shopcar .b:hover{
    background-color: white !important;
    border: 1px solid #ccc !important;
}

#shopcar .o{
    font-size: 20px !important;
}
